home *** CD-ROM | disk | FTP | other *** search
Makefile | 1988-10-07 | 932 b | 46 lines |
- M = S
-
- CFLAGS = -A$(M) -DMSC -Ox
-
- MAKEFILE = makefile
-
- LIBRARY = apm.lib
-
- RESPFILE = apm.arf
-
- SRCS = addsub.c \
- calc.c \
- memory.c \
- misc.c \
- muldiv.c \
- utils.c
-
- OBJS = addsub.obj \
- calc.obj \
- memory.obj \
- misc.obj \
- muldiv.obj \
- utils.obj
-
- .c.obj:
- cl $(CFLAGS) -c $*.c
-
- all: $(LIBRARY)
-
- $(LIBRARY): $(OBJS)
- @-rm -f $(LIBRARY)
- lib @$(RESPFILE)
-
- clean:
- rm -f $(OBJS)
-
- ###
- addsub.obj: c:/ms/include/stdio.h apm.h c:/ms/include/malloc.h apmlocal.h
- calc.obj: c:/ms/include/stdio.h c:/ms/include/varargs.h apm.h \
- c:/ms/include/malloc.h apmlocal.h
- memory.obj: c:/ms/include/stdio.h apm.h c:/ms/include/malloc.h apmlocal.h
- misc.obj: c:/ms/include/stdio.h apm.h c:/ms/include/malloc.h apmlocal.h
- muldiv.obj: c:/ms/include/stdio.h apm.h c:/ms/include/malloc.h apmlocal.h
- utils.obj: c:/ms/include/stdio.h c:/ms/include/varargs.h apm.h \
- c:/ms/include/malloc.h apmlocal.h
-